/**
 *  Copyright � 2010 Digia Plc
 *  Copyright � 2010 Nokia Corporation
 *
 *  All rights reserved.
 *
 *  Nokia and Nokia Connecting People are registered trademarks of
 *  Nokia Corporation.
 *  Java and all Java-based marks are trademarks or registered
 *  trademarks of
 *  Sun Microsystems, Inc. Other product and company names
 *  mentioned herein may be
 *  trademarks or trade names of their respective owners.
 *
 *
 *  Subject to the conditions below, you may, without charge:
 *
 *  �  Use, copy, modify and/or merge copies of this software and
 *     associated documentation files (the "Software")
 *
 *  �  Publish, distribute, sub-licence and/or sell new software
 *     derived from or incorporating the Software.
 *
 *
 *  This file, unmodified, shall be included with all copies or
 *  substantial portions
 *  of the Software that are distributed in source code form.
 *
 *  The Software cannot constitute the primary value of any new
 *  software derived
 *  from or incorporating the Software.
 *
 *  Any person dealing with the Software shall not misrepresent
 *  the source of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
 *  KIND, EXPRESS OR IMPLIED,
 *  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 *  MERCHANTABILITY, FITNESS FOR A
 *  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT
 *  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 *  WHETHER IN AN ACTION
 *  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 *  CONNECTION WITH THE
 *  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
import Qt 4.7
import "../../colibri"
import "../../colibri/gradients"

CLStyle {
    SystemPalette { id: palette; colorGroup: SystemPalette.Active }
    id: systemCLStyle
    colorWhenActive: "#00A6FF"
    colorWhenDefault: "#FFFFFF"
    colorWhenPressed: palette.window
    colorWhenHovered: "#79D2FF"
    colorWhenSelected: "red"
    textColor: "#095277"
    roundness: 0.3 // 0-1
    fontSize: 12
    fontFamily: "Helvetica"
    fontWeight: "DemiBold"
    borderWidth: 1
    borderColor: "#6dc4f1"
    borderColorWhenHovered: "#0088C3"
    borderColorWhenPressed: palette.highlight
    borderColorWhenSelected: palette.highlight
    borderWidthInner: 1
    borderColorInner: "#2F9CD5"
    borderColorInnerWhenHovered: "#0088C3"
    borderColorInnerWhenPressed: palette.highlight
    bgColor: "#D2F0FF"
    itemRoundness: 0.00001
    selectionColor: "#6BCBFF"
    selectedTextColor: "white"
    gradientActiveOn: true
    gradientDefaultOn: true
    gradientHoveredOn: true
    gradientPressedOn: true
    gradientBgOn: true
    gradientCheckedOn: true
    gradientSelectedOn: true
    activeStateOn: true
    hoveredStateOn: true
    pressedStateOn: true

    borderColorWhenChecked: "#3f3b3c"
    colorWhenChecked: "#3f3b3c"

    borderColorWhenActive: palette.highlight


    gradientBg: Gradient {
        GradientStop { position: 0; color: "#E3F6FF" }
        GradientStop { position: 1; color: "#C4EAFD" }
    }

    gradientWhenDefault: Gradient {
        GradientStop { position: 0; color: "#FFFFFF" }
        GradientStop { position: 1; color: "#79D2FF" }
    }

    gradientWhenHovered: Gradient {
        GradientStop { position: 0; color: "#FFFFFF" }
        GradientStop { position: 1; color: "#D9D9D9" }
    }

    gradientWhenPressed: Gradient {
        GradientStop { position: 0; color: "#FFFFFF" }
        GradientStop { position: 1; color: "#D9D9D9" }
    }

    gradientWhenSelected: LightBlue {}

    gradientWhenChecked: gradientWhenDefault
    gradientWhenActive: Gradient {
        GradientStop { position: 0; color: "#79D2FF" }
        GradientStop { position: 1; color: "#FFFFFF" }
    }
}


